﻿@model HQPad.Models.CharacterHeader


<div class="race-and-class">
    <label for="race">Race</label>
    @Html.DropDownList("race", Model.Races, new { @class = "raceList" })
    <label for="class">Class</label>
    @Html.DropDownList("class", Model.Classes, new { @class = "classList" })
</div>
<div class="stats">
    <p>
        <span class="rank">Rank: <span>@Html.Raw(Model.Rank.ToString())</span></span>
        <span class="points tooltipable" title="You have @Html.Raw(Model.EffectivePoints.ToString()) effective points with @Html.Raw(Model.UnspentPoints.ToString()) remaining unspent">Effective: <span class="spent">@Html.Raw(Model.EffectivePoints.ToString())</span> : <span class="unspent">@Html.Raw(Model.UnspentPoints.ToString())</span></span>
        <span class="status tooltipable" title=" You have @Html.Raw(Model.Status.ToString()) status with @Html.Raw(Model.UnspentStatus.ToString()) remaining unspent">Status: <span class="spent">@Html.Raw(Model.Status.ToString())</span> : <span class="unspent">@Html.Raw(Model.UnspentStatus.ToString())</span></span>
    </p>
</div>
<div class="guild-selectors">
    Guilds:
    <label for="primaryGuild">Primary</label>
    @Html.DropDownList("primaryGuild", Model.PrimaryGuilds, "none", new { @class = "primaryGuildList" })
    @if (Model.SecondaryGuilds != null)
    {
    <label for="secondaryGuild">Secondary</label>
    @Html.DropDownList("secondaryGuild", Model.SecondaryGuilds, "none", new { @class = "secondaryGuildList" })
    }
    @if (Model.TertiaryGuilds != null)
    {
    <label for="tertiaryGuild">Tertiary</label>
    @Html.DropDownList("tertiaryGuild", Model.TertiaryGuilds, "none", new { @class = "tertiaryGuildList" })
    }
</div>
<div class="toolbar">
    <ul class="inline-list">
        <li class="save-character"><a href="#" title="" class="calltoaction-link">Save character</a></li>
    </ul>
</div>
